package com.lx.pc.restful.util;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AppContextUtil {

	private static ClassPathXmlApplicationContext instance;

	public static synchronized ClassPathXmlApplicationContext getInstance() {
		if (instance == null) {
			instance = new ClassPathXmlApplicationContext("classpath*:/spring*.xml");
		}
		return instance;
	}
}
